Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re: Migrate from CommonJS to ESM #88

Merged
merged 6 commits into from
Feb 9, 2024
Merged

Re: Migrate from CommonJS to ESM #88

merged 6 commits into from
Feb 9, 2024

Conversation

Matte22
Copy link
Collaborator

@Matte22 Matte22 commented Feb 1, 2024

resolves: #85

The following PR will migrate Stigman-Watcher to use ESM style modules.

Other than the syntactical changes to migrate to ESM, the only logic that needed to be refactored is in args.js to:

Obtain the watcher version number from package,json
Logic behind exiting the application when validating the client secret or key.

This PR also addressed simple sonar cloud findings.

Copy link

sonarqubecloud bot commented Feb 9, 2024

Quality Gate Passed Quality Gate passed for 'NUWCDIVNPT_stigman-watcher'

Issues
0 New issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@csmig csmig merged commit 7302f24 into main Feb 9, 2024
2 checks passed
@csmig csmig deleted the migrate-ESM branch February 9, 2024 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use EcmaScript style imports rather than CommonJS "require" statements
2 participants